package com.baizhi.service;

import com.baizhi.entity.Admin;

import java.util.HashMap;

public interface AdminService {
    //登录
    HashMap<String, Object> login(Admin admin, String clientCode);

    //分页查所有
    HashMap<String,Object> pageAllAdmin(Integer page, Integer rows);

    //修改
    void update(Admin admin);

    //添加
    String add(Admin admin);

    //删除
    void del(Admin admin);
}
